package com.cuixichang.minimalism.basal.core;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@ApiModel(value = "基础分页请求封装对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class BasePageRequest extends BaseQueryRequest{

    /**
     * 分页页容量
     */
    @ApiModelProperty(value = "页容量", name = "pageSize")
    private Long pageSize;

    /**
     * 分页页码
     */
    @ApiModelProperty(value = "页码", name = "pageNo")
    private Long pageNo;
}
